/****************************************************************************
** ui.h extension file, included from the uic-generated form implementation.
**
** If you want to add, delete, or rename functions or slots, use
** Qt Designer to update this file, preserving your code.
**
** You should not define a constructor or destructor in this file.
** Instead, write your code in functions called init() and destroy().
** These will automatically be called by the form's constructor and
** destructor.
*****************************************************************************/



void Form1::addJob()
{
    import acciones
    resultado = acciones.addJob(
	    self,
	    self.leJob.text().ascii(),
	    self.leDuration.text().ascii() ,
	    self.lePrecedence.text().ascii(),
	    self.txtError
	    )    
    if resultado:
        # limpiamos
        self.leJob.clear()
	self.leDuration.clear()
	self.lePrecedence.setText('-')
	self.leJob.setFocus()
}



void Form1::Form1_destroyed( QObject * )
{
    
}

void utnCPM::generarDiagrama()
{
    import acciones
    acciones.generarDiagrama(self)    
}
